#
# # 5.打印1~30所有数的平方的和
# n5=0
# sum5=0
# while n5<=30:
#     # sum5+=n5*n5
#     sum5+=n5**2
#     n5+=1
# # 7.打印1~20所有奇数的乘积
# n7=1
# cj=1
# while  n7<=20:
#     cj *=n7
#     n7+=2
# # 8.打印1~40所有奇数的平方的和
n8=1
sum8=0
while n8<=40:
    # sum5+=n5*n5
    sum8+=n8**2
    n8+=2
print(sum8)

# 10.打印 1-100之内小于等于30 和 大于等于 70的所有数
# n10=1
# while n10<=100:
#     if n10<=30 or n10>=70:
#         print(n10)
#     n10+=1








